package com.fortune.vo.distributorOrderMgt;

import java.math.BigDecimal;
import java.util.Date;

import com.fortune.constants.enums.Approve;
import com.fortune.constants.enums.Payed;

import io.swagger.annotations.ApiModelProperty;

public class DistributorOrder {
	@ApiModelProperty(example="订单id")
	private String id;
	@ApiModelProperty(example="经销商名称")
	private String name;
	@ApiModelProperty(example="订单编号")
	private String no;
	@ApiModelProperty(example="开单日期")
	private Date createTime;
	@ApiModelProperty(example="开单人名称")
	private String createUser;
	@ApiModelProperty(example="商品总金额")
	private BigDecimal pTotalPrice;
	@ApiModelProperty(example="押金总金额")
	private BigDecimal dTotalPrice;
	@ApiModelProperty(example="是否已付款")
	private Payed payed;
	@ApiModelProperty(example="付款日期")
	private Date payTime;
	@ApiModelProperty(example="付款方式")
	private String payType;
	@ApiModelProperty(example="是否批准发货")
	private Approve approve;
	@ApiModelProperty(example="发货批准人")
	private String shipUser;
	@ApiModelProperty(example="发货批准日期")
	private Date shipTime;
	@ApiModelProperty(example="发货仓库")
	private String shipStore;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public BigDecimal getpTotalPrice() {
		return pTotalPrice;
	}
	public void setpTotalPrice(BigDecimal pTotalPrice) {
		this.pTotalPrice = pTotalPrice;
	}
	public BigDecimal getdTotalPrice() {
		return dTotalPrice;
	}
	public void setdTotalPrice(BigDecimal dTotalPrice) {
		this.dTotalPrice = dTotalPrice;
	}
	public Payed getPayed() {
		return payed;
	}
	public void setPayed(Payed payed) {
		this.payed = payed;
	}
	public Date getPayTime() {
		return payTime;
	}
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public Approve getApprove() {
		return approve;
	}
	public void setApprove(Approve approve) {
		this.approve = approve;
	}
	public String getShipUser() {
		return shipUser;
	}
	public void setShipUser(String shipUser) {
		this.shipUser = shipUser;
	}
	public Date getShipTime() {
		return shipTime;
	}
	public void setShipTime(Date shipTime) {
		this.shipTime = shipTime;
	}
	public String getShipStore() {
		return shipStore;
	}
	public void setShipStore(String shipStore) {
		this.shipStore = shipStore;
	}
	@Override
	public String toString() {
		return "DistributorOrder [id=" + id + ", name=" + name + ", no=" + no + ", createTime=" + createTime
				+ ", createUser=" + createUser + ", pTotalPrice=" + pTotalPrice + ", dTotalPrice=" + dTotalPrice
				+ ", payed=" + payed + ", payTime=" + payTime + ", payType=" + payType + ", approve=" + approve
				+ ", shipUser=" + shipUser + ", shipTime=" + shipTime + ", shipStore=" + shipStore + "]";
	}
}
